<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@page import="org.mike.RemoteDebug.classloader.HotSwapClassLoader"%>
<%@page import="java.lang.reflect.*"%>
<%= 123 %>
<%
  System.out.printf("123");
  HotSwapClassLoader hot = new HotSwapClassLoader();
  //"Users/mike/devApps/apache-tomcat-8.5.45/webapps/RemoteTest-1.0.0/WEB-INF/classes/org/mike/RemoteTest"
  byte[] bytes = hot.getBytesFromFile("/Users/mike/devApps/apache-tomcat-8.5.45/webapps/RemoteTest-1.0.0/WEB-INF/classes/org/mike/RemoteTest/Test.class");
  Class clazz =  hot.loadByte(bytes);
   Method method = clazz.getMethod("test");
  method.invoke(null);
  hot.test();
%>